<html>
<head><meta charset="utf-8"><title>Detached associtem storage · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Detached.20associtem.20storage.html">Detached associtem storage</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="217656770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Detached%20associtem%20storage/near/217656770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cjgillot <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Detached.20associtem.20storage.html#217656770">(Nov 23 2020 at 17:19)</a>:</h4>
<p>For the moment, HIR items (Item, TraitItem, ImplItem) are stored by association kind (resp. none, trait, impl). Another choice is possible: storing by item kind (fn, static, const, types...). What is the rationale for one choice wrt. the other?</p>



<a name="217692272"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Detached%20associtem%20storage/near/217692272" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cjgillot <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Detached.20associtem.20storage.html#217692272">(Nov 23 2020 at 22:35)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="116009">@nikomatsakis</span> and <span class="user-mention" data-user-id="119009">@eddyb</span>, related to <a href="https://github.com/rust-lang/rust/issues/40697">#40697</a></p>



<a name="217703318"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Detached%20associtem%20storage/near/217703318" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Detached.20associtem.20storage.html#217703318">(Nov 24 2020 at 00:55)</a>:</h4>
<p>I would prefer to have fewer kinds, it makes it easier to keep track of the ParamEnv</p>



<a name="217703390"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Detached%20associtem%20storage/near/217703390" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Detached.20associtem.20storage.html#217703390">(Nov 24 2020 at 00:56)</a>:</h4>
<p>Especially for rustdoc there aren't many tests in this area and I'd like the relevant code be correct on inspection if at all possible</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>